@import "reset.less";
@import "variable.less";
@import "mixins.less";

body, html {
  height: 100%;
  user-select: none;
  background: @color-background;
}

.app-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: @color-background;
  z-index: 100;
}

.bk-toast--unclickable {
  pointer-events: none;
}
/* Vue transition 组件样式  */
.slide-enter-active, .slide-leave-active { transition: transform .3s }
.slide-enter, .slide-leave-to { transform: translateX(100%) }

.fade-enter-active, .fade-leave-active { transition: opacity .3s }
.fade-enter, .fade-leave-to { opacity: 0 }

.box-shadow {
  box-shadow: 1px 1px 5px rgba(0,0,0,.3);
}


.block { display: block }
.inline-block { display: inline-block }
.inline { display: inline }
.flex { display: flex }
.grid { display: grid }

/*  弹性盒子样式  */
.justify-content-center { justify-content: center }
.align-center { align-items: center }

.text-left { text-align: left }
.text-center { text-align: center }
.text-right { text-align: right }

.fl { float: left }
.fr { float: right }
.clear-fix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.text-bold {
  font-weight: bold;
}


/*  -- 内外边距 -- */
.margin-0 { margin: 0 }
.margin-xs { margin: 10px }
.margin-sm { margin: 20px }
.margin { margin: 30px }
.margin-lg { margin: 40px }
.margin-xl { margin: 50px }
.margin-top-xs { margin-top: 10px }
.margin-top-sm { margin-top: 20px }
.margin-top { margin-top: 30px }
.margin-top-lg { margin-top: 40px }
.margin-top-xl { margin-top: 50px }
.margin-right-xs { margin-right: 10px }
.margin-right-sm { margin-right: 20px }
.margin-right { margin-right: 30px }
.margin-right-lg { margin-right: 40px }
.margin-right-xl { margin-right: 50px }
.margin-bottom-xs { margin-bottom: 10px }
.margin-bottom-sm { margin-bottom: 20px }
.margin-bottom { margin-bottom: 30px }
.margin-bottom-lg { margin-bottom: 40px }
.margin-bottom-xl { margin-bottom: 50px }
.margin-left-xs { margin-left: 10px }
.margin-left-sm { margin-left: 20px }
.margin-left { margin-left: 30px }
.margin-left-lg { margin-left: 40px }
.margin-left-xl { margin-left: 50px }

.margin-lr-xs {
  margin-left: 10px;
  margin-right: 10px;
}

.margin-lr-sm {
  margin-left: 20px;
  margin-right: 20px;
}

.margin-lr {
  margin-left: 30px;
  margin-right: 30px;
}

.margin-lr-lg {
  margin-left: 40px;
  margin-right: 40px;
}

.margin-lr-xl {
  margin-left: 50px;
  margin-right: 50px;
}

.margin-tb-xs {
  margin-top: 10px;
  margin-bottom: 10px;
}

.margin-tb-sm {
  margin-top: 20px;
  margin-bottom: 20px;
}

.margin-tb {
  margin-top: 30px;
  margin-bottom: 30px;
}

.margin-tb-lg {
  margin-top: 40px;
  margin-bottom: 40px;
}

.margin-tb-xl {
  margin-top: 50px;
  margin-bottom: 50px;
}

.padding-0 { padding: 0 }
.padding-xs { padding: 10px }
.padding-sm { padding: 20px }
.padding { padding: 30px }
.padding-lg { padding: 40px }
.padding-xl { padding: 50px }
.padding-top-xs { padding-top: 10px }
.padding-top-sm { padding-top: 20px }
.padding-top { padding-top: 30px }
.padding-top-lg { padding-top: 40px }
.padding-top-xl { padding-top: 50px }
.padding-right-xs { padding-right: 10px }
.padding-right-sm { padding-right: 20px }
.padding-right { padding-right: 30px }
.padding-right-lg { padding-right: 40px }
.padding-right-xl { padding-right: 50px }
.padding-bottom-xs { padding-bottom: 10px }
.padding-bottom-sm { padding-bottom: 20px }
.padding-bottom { padding-bottom: 30px }
.padding-bottom-lg { padding-bottom: 40px }
.padding-bottom-xl { padding-bottom: 50px }
.padding-left-xs { padding-left: 10px }
.padding-left-sm { padding-left: 20px }
.padding-left { padding-left: 30px }
.padding-left-lg { padding-left: 40px }
.padding-left-xl { padding-left: 50px }

.padding-lr-xs {
  padding-left: 10px;
  padding-right: 10px;
}

.padding-lr-sm {
  padding-left: 20px;
  padding-right: 20px;
}

.padding-lr {
  padding-left: 30px;
  padding-right: 30px;
}

.padding-lr-lg {
  padding-left: 40px;
  padding-right: 40px;
}

.padding-lr-xl {
  padding-left: 50px;
  padding-right: 50px;
}

.padding-tb-xs {
  padding-top: 10px;
  padding-bottom: 10px;
}

.padding-tb-sm {
  padding-top: 20px;
  padding-bottom: 20px;
}

.padding-tb {
  padding-top: 30px;
  padding-bottom: 30px;
}

.padding-tb-lg {
  padding-top: 40px;
  padding-bottom: 40px;
}

.padding-tb-xl {
  padding-top: 50px;
  padding-bottom: 50px;
}

/**
  背景颜色
 */
.bg-red {
  background-color: #e54d42;
  color: #ffffff;
}

.bg-orange {
  background-color: #f37b1d;
  color: #ffffff;
}

.bg-yellow {
  background-color: #fbbd08;
  color: #333333;
}

.bg-olive {
  background-color: #8dc63f;
  color: #ffffff;
}

.bg-green {
  background-color: #39b54a;
  color: #ffffff;
}

.bg-cyan {
  background-color: #1cbbb4;
  color: #ffffff;
}

.bg-blue {
  background-color: #0081ff;
  color: #ffffff;
}

.bg-purple {
  background-color: #6739b6;
  color: #ffffff;
}

.bg-mauve {
  background-color: #9c26b0;
  color: #ffffff;
}

.bg-pink {
  background-color: #e03997;
  color: #ffffff;
}

.bg-brown {
  background-color: #a5673f;
  color: #ffffff;
}

.bg-grey {
  background-color: #8799a3;
  color: #ffffff;
}

.bg-gray {
  background-color: #f0f0f0;
  color: #333333;
}

.bg-black {
  background-color: #333333;
  color: #ffffff;
}

.bg-white {
  background-color: #ffffff;
  color: #666666;
}

.bg-shadeTop {
  background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.01));
  color: #ffffff;
}

.bg-shadeBottom {
  background-image: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 1));
  color: #ffffff;
}

.bg-red.light {
  color: #e54d42;
  background-color: #fadbd9;
}

.bg-orange.light {
  color: #f37b1d;
  background-color: #fde6d2;
}

.bg-yellow.light {
  color: #fbbd08;
  background-color: #fef2ced2;
}

.bg-olive.light {
  color: #8dc63f;
  background-color: #e8f4d9;
}

.bg-green.light {
  color: #39b54a;
  background-color: #d7f0db;
}

.bg-cyan.light {
  color: #1cbbb4;
  background-color: #d2f1f0;
}

.bg-blue.light {
  color: #0081ff;
  background-color: #cce6ff;
}

.bg-purple.light {
  color: #6739b6;
  background-color: #e1d7f0;
}

.bg-mauve.light {
  color: #9c26b0;
  background-color: #ebd4ef;
}

.bg-pink.light {
  color: #e03997;
  background-color: #f9d7ea;
}

.bg-brown.light {
  color: #a5673f;
  background-color: #ede1d9;
}

.bg-grey.light {
  color: #8799a3;
  background-color: #e7ebed;
}

.bg-gradual-red {
  background-image: linear-gradient(45deg, #f43f3b, #ec008c);
  color: #ffffff;
}

.bg-gradual-orange {
  background-image: linear-gradient(45deg, #ff9700, #ed1c24);
  color: #ffffff;
}

.bg-gradual-green {
  background-image: linear-gradient(45deg, #39b54a, #8dc63f);
  color: #ffffff;
}

.bg-gradual-purple {
  background-image: linear-gradient(45deg, #9000ff, #5e00ff);
  color: #ffffff;
}

.bg-gradual-pink {
  background-image: linear-gradient(45deg, #ec008c, #6739b6);
  color: #ffffff;
}

.bg-gradual-blue {
  background-image: linear-gradient(45deg, #0081ff, #1cbbb4);
  color: #ffffff;
}

/**
  文字颜色
 */
.text-red,
.line-red,
.lines-red {
  color: #e54d42;
}

.text-orange,
.line-orange,
.lines-orange {
  color: #f37b1d;
}

.text-yellow,
.line-yellow,
.lines-yellow {
  color: #fbbd08;
}

.text-olive,
.line-olive,
.lines-olive {
  color: #8dc63f;
}

.text-green,
.line-green,
.lines-green {
  color: #39b54a;
}

.text-cyan,
.line-cyan,
.lines-cyan {
  color: #1cbbb4;
}

.text-blue,
.line-blue,
.lines-blue {
  color: #0081ff;
}

.text-purple,
.line-purple,
.lines-purple {
  color: #6739b6;
}

.text-mauve,
.line-mauve,
.lines-mauve {
  color: #9c26b0;
}

.text-pink,
.line-pink,
.lines-pink {
  color: #e03997;
}

.text-brown,
.line-brown,
.lines-brown {
  color: #a5673f;
}

.text-grey,
.line-grey,
.lines-grey {
  color: #8799a3;
}

.text-gray,
.line-gray,
.lines-gray {
  color: #aaaaaa;
}

.text-black,
.line-black,
.lines-black {
  color: #333333;
}

.text-white,
.line-white,
.lines-white {
  color: #ffffff;
}
